package cn.wenlihelp.service;

import cn.wenlihelp.bean.Resources;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ResourcesService {
    PageInfo<Resources> findAll(int page, int limit, Resources resources);

    List<Resources> findAll(Resources resources);

    List<Resources> findByRoleId(Integer roleId);

    Resources findById(Long id);

    boolean deleteByIds(Integer[] ids);

    boolean insert(Resources resources);

    boolean updateByPrimaryKey(Resources resources);
}
